import { createApp } from 'vue'
import App from './App.vue'
//基本重置css
import './assets/css/reset.css'
//引入ElementPlus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
//引入路由
import router from "./router/router";
//引入Ant Design Vue
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';

const app=createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
    app.use(ElementPlus)
    app.use(router)
    app.use(Antd);
    app.mount('#app')
